﻿#region references
using System;
using System.Collections.Generic;
using System.Text;
#endregion

namespace IcaGames.Objects
{
    /*
     * Class that holds all attributes of a Cart Object.
     * 
     * @author
     * Rick Oonk
     * 
     * @version
     * 1.0
     * 
     * @update
     * 21-01-2010 by Rick Oonk.
     * Created Class and added attributes and standard functions. 
     */
    [Serializable]
    public class ShoppingCart
    {
        #region private attributes
        private int cartId;
        private DateTime date;
        private int userId;
        private List<Game> games;
        #endregion

        #region public attributes
        public int CartId { get { return cartId; } set { cartId = value; } }
        public DateTime Date { get { return date; } set { date = value; } }
        public int UserId { get { return userId; } set { userId = value; } }
        public List<Game> Games { get { return games; } set { games = value; } }
        #endregion
    }
}
